Skip to content

pyjnius: pin cython version#3151

Merged
clayote merged 1 commit intokivy:developfrom
T-Dynamos:hotfixc
May 12, 2025
Merged

pyjnius: pin cython version#3151
clayote merged 1 commit intokivy:developfrom
T-Dynamos:hotfixc

Conversation

@T-Dynamos
Copy link
Copy Markdown
Member

As pyjnius build fails on latest cython.

[1/1] Cythonizing jnius/jnius.pyx
warning: jnius/jnius.pyx:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310

Error compiling Cython file:
------------------------------------------------------------
...
            score += 10
            continue

        if r == 'S' or r == 'I':
            if isinstance(arg, int) or (
                    (isinstance(arg, long) and arg < 2147483648)):
                                     ^
------------------------------------------------------------

jnius/jnius_utils.pxi:323:37: undeclared name not builtin: long
Traceback (most recent call last):

@T-Dynamos
Copy link
Copy Markdown
Member Author

Ci fails because of #3150, which I will fix in following PR.

@clayote clayote merged commit 40993e3 into kivy:develop May 12, 2025
30 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants